﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace HospitalSystem
{
    public partial class checkreg : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["CID"] == null)
            {

                Response.Redirect("reg.aspx");

            }




            else


            {
                String a;

                //  ('reg.aspx?CID=('1669800114444')')

                //(reg.aspx?CID=(1669800114444)')
                a = "reg.aspx?CID=" + Session["CID"] + "";
                Response.Redirect("" + a + "");
            }
        }
    }
}